/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package it.txt.access.capability.commons.filter;

import java.io.File;
import java.io.FilenameFilter;

/**
 *
 * @author seccia
 */
public class CapabilityFileNameFilter implements FilenameFilter {

    private FilterXML filterXML = new FilterXML("Access rights Capability");

    public boolean accept(File dir, String name) {
        File file = new File(dir, name);
        return filterXML.accept(file);
    }
}
